<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>梦幻西游数字资产管理系统 - 资产管理</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Microsoft YaHei', Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }
        .container { display: flex; min-height: 100vh; }
        .sidebar { width: 220px; background: rgba(255, 255, 255, 0.95); box-shadow: 2px 0 10px rgba(0,0,0,0.1); padding: 20px 0; }
        .logo { text-align: center; padding: 20px; font-size: 20px; font-weight: bold; color: #667eea; border-bottom: 2px solid #f0f0f0; margin-bottom: 20px; }
        .nav-menu { list-style: none; }
        .nav-item { padding: 15px 30px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; color: #333; }
        .nav-item:hover { background: #f5f5f5; border-left: 4px solid #667eea; padding-left: 26px; }
        .nav-item.active { background: #667eea; color: white; border-left: 4px solid #764ba2; }
        .nav-icon { margin-right: 10px; font-size: 18px; }
        .main-content { flex: 1; padding: 30px; overflow-y: auto; }
        .header { background: white; padding: 20px 30px; border-radius: 10px; margin-bottom: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; }
        .header h1 { color: #333; font-size: 24px; }
        .btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }
        .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); }
        
        /* 资产概览卡片 */
        .asset-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 30px; }
        .overview-card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: relative; overflow: hidden; }
        .overview-card::before { content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); border-radius: 0 0 0 100%; }
        .card-icon { font-size: 40px; margin-bottom: 15px; }
        .card-label { color: #999; font-size: 14px; margin-bottom: 8px; }
        .card-value { font-size: 28px; font-weight: bold; color: #333; margin-bottom: 5px; }
        .card-change { font-size: 13px; color: #52c41a; }
        .card-change.negative { color: #f5222d; }
        
        /* 角色资产列表 */
        .role-assets { background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-bottom: 20px; }
        .section-header { padding: 20px 25px; border-bottom: 2px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
        .section-title { font-size: 18px; font-weight: bold; color: #333; }
        .filter-tabs { display: flex; gap: 10px; }
        .filter-tab { padding: 6px 15px; border: 2px solid #e8e8e8; background: white; border-radius: 20px; font-size: 13px; cursor: pointer; transition: all 0.3s; }
        .filter-tab.active { background: #667eea; color: white; border-color: #667eea; }
        
        /* 角色资产条目 */
        .asset-item { padding: 20px 25px; border-bottom: 1px solid #f5f5f5; display: grid; grid-template-columns: 200px 1fr 150px; gap: 20px; align-items: center; transition: background 0.3s; }
        .asset-item:hover { background: #fafafa; }
        .asset-item:last-child { border-bottom: none; }
        .role-info { display: flex; align-items: center; gap: 15px; }
        .role-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; }
        .role-avatar.dt { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .role-avatar.lg { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        .role-avatar.pt { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
        .role-details { flex: 1; }
        .role-name { font-weight: 600; color: #333; margin-bottom: 4px; }
        .role-meta { font-size: 13px; color: #999; }
        
        /* 资产详情 */
        .asset-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
        .detail-item { text-align: center; }
        .detail-label { font-size: 12px; color: #999; margin-bottom: 5px; }
        .detail-value { font-size: 16px; font-weight: 600; color: #333; }
        .detail-value.highlight { color: #667eea; }
        
        /* 资产操作 */
        .asset-actions { display: flex; gap: 10px; justify-content: flex-end; }
        .action-btn { padding: 8px 16px; border: 1px solid #d9d9d9; background: white; border-radius: 6px; cursor: pointer; font-size: 13px; transition: all 0.3s; }
        .action-btn:hover { border-color: #667eea; color: #667eea; }
        
        /* 物品清单 */
        .items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; padding: 20px 25px; }
        .item-card { padding: 15px; border: 2px solid #f0f0f0; border-radius: 8px; transition: all 0.3s; cursor: pointer; }
        .item-card:hover { border-color: #667eea; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2); }
        .item-icon { font-size: 32px; margin-bottom: 10px; }
        .item-name { font-weight: 600; color: #333; margin-bottom: 5px; font-size: 14px; }
        .item-quantity { font-size: 13px; color: #999; margin-bottom: 5px; }
        .item-value { font-size: 14px; color: #52c41a; font-weight: 600; }
    </style>
</head>
<body>
    <div class="container">
        <!-- 侧边栏 -->
        <div class="sidebar">
            <div class="logo">⚔️ 梦幻资管系统</div>
            <ul class="nav-menu">
                <li class="nav-item" onclick="location.href='index.html'">
                    <span class="nav-icon">🏠</span><span>首页仪表盘</span>
                </li>
                <li class="nav-item" onclick="location.href='accounts.html'">
                    <span class="nav-icon">👤</span><span>账号管理</span>
                </li>
                <li class="nav-item" onclick="location.href='roles.html'">
                    <span class="nav-icon">🎮</span><span>角色管理</span>
                </li>
                <li class="nav-item" onclick="location.href='tasks.html'">
                    <span class="nav-icon">📋</span><span>任务中心</span>
                </li>
                <li class="nav-item active">
                    <span class="nav-icon">💰</span><span>资产管理</span>
                </li>
                <li class="nav-item" onclick="location.href='statistics.html'">
                    <span class="nav-icon">📊</span><span>数据统计</span>
                </li>
                <li class="nav-item" onclick="location.href='settings.html'">
                    <span class="nav-icon">⚙️</span><span>系统设置</span>
                </li>
            </ul>
        </div>
        
        <!-- 主内容区 -->
        <div class="main-content">
            <!-- 头部 -->
            <div class="header">
                <h1>💰 资产管理</h1>
                <div style="display:flex;gap:10px;">
                    <button class="btn btn-primary">
                        <span>📊</span><span>生成资产报表</span>
                    </button>
                    <button class="btn btn-primary">
                        <span>💱</span><span>记录收益</span>
                    </button>
                </div>
            </div>
            
            <!-- 资产概览 -->
            <div class="asset-overview">
                <div class="overview-card">
                    <div class="card-icon">💎</div>
                    <div class="card-label">总资产估值</div>
                    <div class="card-value">28.6 亿</div>
                    <div class="card-change">↑ 本周增长 3.2 亿</div>
                </div>
                
                <div class="overview-card">
                    <div class="card-icon">🪙</div>
                    <div class="card-label">游戏币总额</div>
                    <div class="card-value">15.8 亿</div>
                    <div class="card-change">↑ 较昨日 +5200万</div>
                </div>
                
                <div class="overview-card">
                    <div class="card-icon">💠</div>
                    <div class="card-label">仙玉总量</div>
                    <div class="card-value">128,500</div>
                    <div class="card-change class-negative">↓ 较昨日 -2,500</div>
                </div>
                
                <div class="overview-card">
                    <div class="card-icon">📦</div>
                    <div class="card-label">物品总数</div>
                    <div class="card-value">1,256</div>
                    <div class="card-change">估值 12.8 亿</div>
                </div>
            </div>
            
            <!-- 角色资产列表 -->
            <div class="role-assets">
                <div class="section-header">
                    <div class="section-title">各角色资产详情</div>
                    <div class="filter-tabs">
                        <button class="filter-tab active">全部</button>
                        <button class="filter-tab">主力角色</button>
                        <button class="filter-tab">商人角色</button>
                        <button class="filter-tab">按资产排序</button>
                    </div>
                </div>
                
                <div class="asset-item">
                    <div class="role-info">
                        <div class="role-avatar">⚔️</div>
                        <div class="role-details">
                            <div class="role-name">剑侠客 Lv.175</div>
                            <div class="role-meta">大唐官府 · 紫禁城</div>
                        </div>
                    </div>
                    <div class="asset-details">
                        <div class="detail-item">
                            <div class="detail-label">游戏币</div>
                            <div class="detail-value highlight">5.2亿</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">仙玉</div>
                            <div class="detail-value">32,500</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">金币</div>
                            <div class="detail-value">1,280万</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">物品数</div>
                            <div class="detail-value">328</div>
                        </div>
                    </div>
                    <div class="asset-actions">
                        <button class="action-btn">📝 编辑</button>
                        <button class="action-btn">📋 物品清单</button>
                    </div>
                </div>
                
                <div class="asset-item">
                    <div class="role-info">
                        <div class="role-avatar lg">🐉</div>
                        <div class="role-details">
                            <div class="role-name">龙太子 Lv.155</div>
                            <div class="role-meta">龙宫 · 紫禁城</div>
                        </div>
                    </div>
                    <div class="asset-details">
                        <div class="detail-item">
                            <div class="detail-label">游戏币</div>
                            <div class="detail-value highlight">3.8亿</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">仙玉</div>
                            <div class="detail-value">18,200</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">金币</div>
                            <div class="detail-value">850万</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">物品数</div>
                            <div class="detail-value">256</div>
                        </div>
                    </div>
                    <div class="asset-actions">
                        <button class="action-btn">📝 编辑</button>
                        <button class="action-btn">📋 物品清单</button>
                    </div>
                </div>
                
                <div class="asset-item">
                    <div class="role-info">
                        <div class="role-avatar pt">🙏</div>
                        <div class="role-details">
                            <div class="role-name">观音姐姐 Lv.169</div>
                            <div class="role-meta">普陀山 · 将军阁</div>
                        </div>
                    </div>
                    <div class="asset-details">
                        <div class="detail-item">
                            <div class="detail-label">游戏币</div>
                            <div class="detail-value highlight">2.1亿</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">仙玉</div>
                            <div class="detail-value">12,800</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">金币</div>
                            <div class="detail-value">520万</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">物品数</div>
                            <div class="detail-value">189</div>
                        </div>
                    </div>
                    <div class="asset-actions">
                        <button class="action-btn">📝 编辑</button>
                        <button class="action-btn">📋 物品清单</button>
                    </div>
                </div>
                
                <div class="asset-item">
                    <div class="role-info">
                        <div class="role-avatar dt">👻</div>
                        <div class="role-details">
                            <div class="role-name">阎罗王 Lv.175</div>
                            <div class="role-meta">地府 · 将军阁</div>
                        </div>
                    </div>
                    <div class="asset-details">
                        <div class="detail-item">
                            <div class="detail-label">游戏币</div>
                            <div class="detail-value highlight">4.7亿</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">仙玉</div>
                            <div class="detail-value">65,000</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">金币</div>
                            <div class="detail-value">1,520万</div>
                        </div>
                        <div class="detail-item">
                            <div class="detail-label">物品数</div>
                            <div class="detail-value">483</div>
                        </div>
                    </div>
                    <div class="asset-actions">
                        <button class="action-btn">📝 编辑</button>
                        <button class="action-btn">📋 物品清单</button>
                    </div>
                </div>
            </div>
            
            <!-- 物品清单展示区 -->
            <div class="role-assets">
                <div class="section-header">
                    <div class="section-title">高价值物品清单</div>
                    <div class="filter-tabs">
                        <button class="filter-tab active">全部</button>
                        <button class="filter-tab">装备</button>
                        <button class="filter-tab">宝石</button>
                        <button class="filter-tab">材料</button>
                        <button class="filter-tab">药品</button>
                    </div>
                </div>
                
                <div class="items-grid">
                    <div class="item-card">
                        <div class="item-icon">⚔️</div>
                        <div class="item-name">150级无级别武器</div>
                        <div class="item-quantity">数量：1</div>
                        <div class="item-value">估值：8,500万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">🛡️</div>
                        <div class="item-name">160级专用防具</div>
                        <div class="item-quantity">数量：1</div>
                        <div class="item-value">估值：3,200万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">💎</div>
                        <div class="item-name">15段黑宝石</div>
                        <div class="item-quantity">数量：3</div>
                        <div class="item-value">估值：1,500万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">💠</div>
                        <div class="item-name">12段月亮石</div>
                        <div class="item-quantity">数量：5</div>
                        <div class="item-value">估值：800万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">📿</div>
                        <div class="item-name">高级兽决×8</div>
                        <div class="item-quantity">数量：8本</div>
                        <div class="item-value">估值：2,400万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">🔮</div>
                        <div class="item-name">超级金柳露</div>
                        <div class="item-quantity">数量：120</div>
                        <div class="item-value">估值：360万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">🌟</div>
                        <div class="item-name">C66+五开胚子</div>
                        <div class="item-quantity">数量：2只</div>
                        <div class="item-value">估值：5,000万</div>
                    </div>
                    
                    <div class="item-card">
                        <div class="item-icon">📜</div>
                        <div class="item-name">150级制造书</div>
                        <div class="item-quantity">数量：15</div>
                        <div class="item-value">估值：450万</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
